Ext.define('AM.component.shape.Timer', {
    extend:'AM.component.shape.BaseShape',
    draw:function () {
        var me = this;
        var canvas = me.el.dom;
        var context = canvas.getContext('2d');
        context.beginPath();
        context.lineCap = 'round'
        context.lineWidth = 5;
        context.strokeStyle = "black";
        context.beginPath();
        context.arc(75, 75, 50, 0, Math.PI * 2, true);
        context.moveTo(75, 75);
        context.arc(75, 75, 40, 0, Math.PI * 2, false);
        context.moveTo(75, 75);
        context.lineTo(55, 85);
        context.moveTo(75, 75);
        context.lineTo(75, 105);
        /*context.moveTo(75,75);
         context.lineTo(65,55);*/
        context.stroke();
        var sp = AM.service.Support;
        sp.drag(me);
        sp.contextmenu(me);
    }
})